﻿using System.Data;

namespace Azalea.ORMap
{
    public interface ICommandExecutor
    {
        DataSet DataSetExecute(IDbCommand cmd);

        DataTable DataTableExecute(IDbCommand cmd);

        DataRow DataRowExecute(IDbCommand cmd);

        int NonQueryExecute(IDbCommand cmd);

        object ScalarExecute(IDbCommand cmd);
    }
}